home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / zlantb.z / zlantb
Text File  |  1998-10-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAANNNNTTTTBBBB((((3333FFFF))))                                                          ZZZZLLLLAAAANNNNTTTTBBBB((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLANTB - return the value of the one norm, or the Frobenius norm, or the
  10.      infinity norm, or the element of largest absolute value of an n by n
  11.      triangular band matrix A, with ( k + 1 ) diagonals
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      DOUBLE PRECISION FUNCTION ZLANTB( NORM, UPLO, DIAG, N, K, AB, LDAB, WORK
  15.                       )
  16.  
  17.          CHARACTER    DIAG, NORM, UPLO
  18.  
  19.          INTEGER      K, LDAB, N
  20.  
  21.          DOUBLE       PRECISION WORK( * )
  22.  
  23.          COMPLEX*16   AB( LDAB, * )
  24.  
  25. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  26.      ZLANTB  returns the value of the one norm,  or the Frobenius norm, or the
  27.      infinity norm,  or the element of  largest absolute value  of an n by n
  28.      triangular band matrix A,  with ( k + 1 ) diagonals.
  29.  
  30.  
  31. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  32.      ZLANTB returns the value
  33.  
  34.         ZLANTB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
  35.                  (
  36.                  ( norm1(A),         NORM = '1', 'O' or 'o'
  37.                  (
  38.                  ( normI(A),         NORM = 'I' or 'i'
  39.                  (
  40.                  ( normF(A),         NORM = 'F', 'f', 'E' or 'e'
  41.  
  42.      where  norm1  denotes the  one norm of a matrix (maximum column sum),
  43.      normI  denotes the  infinity norm  of a matrix  (maximum row sum) and
  44.      normF  denotes the  Frobenius norm of a matrix (square root of sum of
  45.      squares).  Note that  max(abs(A(i,j)))  is not a  matrix norm.
  46.  
  47.  
  48. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  49.      NORM    (input) CHARACTER*1
  50.              Specifies the value to be returned in ZLANTB as described above.
  51.  
  52.      UPLO    (input) CHARACTER*1
  53.              Specifies whether the matrix A is upper or lower triangular.  =
  54.              'U':  Upper triangular
  55.              = 'L':  Lower triangular
  56.  
  57.      DIAG    (input) CHARACTER*1
  58.              Specifies whether or not the matrix A is unit triangular.  = 'N':
  59.              Non-unit triangular
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAANNNNTTTTBBBB((((3333FFFF))))                                                          ZZZZLLLLAAAANNNNTTTTBBBB((((3333FFFF))))
  71.  
  72.  
  73.  
  74.              = 'U':  Unit triangular
  75.  
  76.      N       (input) INTEGER
  77.              The order of the matrix A.  N >= 0.  When N = 0, ZLANTB is set to
  78.              zero.
  79.  
  80.      K       (input) INTEGER
  81.              The number of super-diagonals of the matrix A if UPLO = 'U', or
  82.              the number of sub-diagonals of the matrix A if UPLO = 'L'.  K >=
  83.              0.
  84.  
  85.      AB      (input) COMPLEX*16 array, dimension (LDAB,N)
  86.              The upper or lower triangular band matrix A, stored in the first
  87.              k+1 rows of AB.  The j-th column of A is stored in the j-th
  88.              column of the array AB as follows:  if UPLO = 'U', AB(k+1+i-j,j)
  89.              = A(i,j) for max(1,j-k)<=i<=j; if UPLO = 'L', AB(1+i-j,j)   =
  90.              A(i,j) for j<=i<=min(n,j+k).  Note that when DIAG = 'U', the
  91.              elements of the array AB corresponding to the diagonal elements
  92.              of the matrix A are not referenced, but are assumed to be one.
  93.  
  94.      LDAB    (input) INTEGER
  95.              The leading dimension of the array AB.  LDAB >= K+1.
  96.  
  97.      WORK    (workspace) DOUBLE PRECISION array, dimension (LWORK),
  98.              where LWORK >= N when NORM = 'I'; otherwise, WORK is not
  99.              referenced.
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.